package com.hubei.car.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * 资讯分类
 * @author huanghaisheng
 * @create 2019-11-27
 */
@ApiModel(value="资讯分类")
@Data
@TableName(value = "ms_news_type")
@Accessors(chain = true)
public class MsNewsType {

    @TableId(value = "id",type = IdType.AUTO)
    @ApiModelProperty(value="资讯分类id,修改时必填，增加时不填")
    private Long id;

    @TableField(value = "name")
    @ApiModelProperty(value="资讯类型名称")
    private String name;

    @TableField(value = "isstop")
    @ApiModelProperty(value="是否禁用")
    private Boolean isstop;

}
